home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / x / gui / x3d.lha / x3d / backup / Makefile next >
Encoding:
Makefile  |  1992-09-25  |  834 b   |  31 lines

  1. #CFLAGS = -g \
  2. -W -Waggregate-return -Wcast-align \
  3. -Wcast-qual -Wcomment -Wformat \
  4. -Winline -Wparentheses -Wpointer-arith \
  5. -Wreturn-type -Wshadow -Wswitch \
  6. -Wtrigraphs -Wuninitialized -Wunused -Wwrite-strings \
  7. -ansi -pedantic 
  8. #-Wconversion -ansi
  9.  
  10. CFLAGS = -O6 -fno-force-mem -fno-force-addr -fomit-frame-pointer \
  11. -finline-functions -fcaller-saves -fstrength-reduce -fthread-jumps \
  12. -funroll-loops -frerun-cse-after-loop -fexpensive-optimizations \
  13. -fdelayed-branch -fschedule-insns -fschedule-insns2 -fthread-jumps \
  14. -mcpu=r3000 
  15.  
  16. # Add -mcpu=??? option above if available on your machine
  17. # Add -DUSE_INTS above if floats are slower than ints on your machine 
  18.  
  19. LIBS   = -lX11 -lm
  20. INCS   = x3d.h 
  21.   CC   = gcc
  22.  
  23. #CFLAGS = -DUSE_INTS
  24. #  CC   = cc
  25.  
  26. x3d: x3d.c $(INCS)
  27.     $(CC) $(CFLAGS) $(DEFS) -o x3d x3d.c $(LIBS) 
  28.  
  29. clean:
  30.     rm x3d
  31.